package lab02.test10;

public class Test10 {
    public static void main(String[] args) {
        ChinaPeople china = new ChinaPeople();
        china.address = "四川省成都市双流县新兴镇庙山村";
        china.age = 43;
        china.idNum = "25698882368596366";
        china.name = "王五";
        china.sex = "女";
        System.out.println(china.toString());

        AmJericanPeople amJerican=new AmJericanPeople();
        amJerican.address="四川省成都市龙泉驿区红岭路459号";
        amJerican.age=19;
        amJerican.idNum="669588744513365223365";
        amJerican.sex="女";
        amJerican.name="程颖";
        System.out.println(amJerican.toString());

        BeijingPeople beiJing=new BeijingPeople();
        beiJing.address="北京市朝阳区";
        beiJing.age=27;
        beiJing.idNum="5569988577452123333";
        beiJing.sex="男";
        beiJing.name="张三";
        System.out.println(beiJing.toString());
    }
}
